<?php

interface IImage2
{
	public function __construct($file_path = "");
	
	public function resize(array $dimensions);
	public function crop(array $dimensions, array $coordinates);
	public function grayscale();
	public function invert();
	public function sepia();
	public function brightness($level = 0);
	public function contrast($level = 0);
	
	public function save();
	public function saveToFile($file_path = "");
	
	public function getWidth();
	public function getHeight();
	public function getMimetype();
	public function getResource();
	public function getFileLocation();
	public function isFilePath();
	public function isFile();
	public function isImage();
	public function isValidImage();
	public function destroyResource();
}